﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Expect.Core
{
    /// <summary>
    /// Attribute used to flag fixture classes or methods for intellisense
    /// </summary>
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
    public class FixtureHintAttribute : Attribute
    {
        /// <summary>
        /// text transcritption of this fixture
        /// </summary>
        public string Name { get; private set; }

        /// <summary>
        /// Attribute used to flag fixture classes or methods for intellisense
        /// </summary>
        /// <param name="name">text transcritption of this fixture</param>
        public FixtureHintAttribute(string name)
        {
            Name = name;
        }
    }
}
